﻿using System;
using System.Windows.Media;

namespace SafeLoad.NControl.Assist
{
  /// <summary>
  /// 辅助线对象
  /// </summary>
  public class AuxiliaryLine
  {
    /// <summary>
    /// 实际的数据值
    /// </summary>
    public double Value { get; set; }

    /// <summary>
    /// 实际的数据绘制的Y轴位置
    /// </summary>
    public double PaintValue { get; set; }

    /// <summary>
    /// 辅助线的颜色
    /// </summary>
    public Color LineColor { get; set; }

    /// <summary>
    /// 辅助线的虚线画笔资源
    /// </summary>
    public Pen PenDash { get; set; }

    /// <summary>
    /// 辅助线的实线画笔资源
    /// </summary>
    public Pen PenSolid { get; set; }

    /// <summary>
    /// 辅助线的宽度
    /// </summary>
    public double LineThickness { get; set; }

    /// <summary>
    /// 辅助线是否是虚线，默认为虚线
    /// </summary>
    public bool IsDashStyle { get; set; } = true;

  }
}
